"""
@Project ：Python_Learning 
@File    ：栈.py
@IDE     ：PyCharm 
@Author  ：zhupp
@Date    ：2024/10/17 17:53 
"""

class Stack:
    def __init__(self):
        self.stack = []

    def push(self, item):
        self.stack.append(item)

    def get_top(self):
        return self.stack[-1]

    def pop(self):
        return self.stack.pop()


stack = Stack()
stack.push(3)
